package com.zhou.core.logana.handle;

import com.zhou.core.logana.LogRecord;

/**
 * �洢�����ݽӿ�
 * Created by zhouyongjun on 2020/6/12
 */
public interface ILogAnaHandler {
    /**
     * ����key
     * @return
     */
    String key();

    /**
     * �洢������
     * @return
     */
    String value();

    /**
     * �洢��ʽ��key,�� mysql ��
     * @return
     */
    String repositoryKey();

    /**
     * �Ƿ�zipѹ��
     * @return
     */
    boolean isZip();

    enum LogAnaRecordType
    {
        JSON,
        REGEX,//|
        ;
    }

    /**
     * ִ�м��ʱ��
     * @return
     */
    long getIntervalHandleTime();

    /**
     * ����ʱ��
     * @param params
     * @return
     */
    public LogRecord handle(Object... params);

}
